   /*******************************************************/
   /*      "C" Language Integrated Production System      */
   /*                                                     */
   /*             CLIPS Version 6.40  11/01/16            */
   /*                                                     */
   /*             CLASS EXAMINATION HEADER FILE           */
   /*******************************************************/

/*************************************************************/
/* Purpose:                                                  */
/*                                                           */
/* Principal Programmer(s):                                  */
/*      Brian L. Dantes                                      */
/*                                                           */
/* Contributing Programmer(s):                               */
/*                                                           */
/* Revision History:                                         */
/*                                                           */
/*      6.23: Corrected compilation errors for files         */
/*            generated by constructs-to-c. DR0861           */
/*                                                           */
/*      6.24: The DescribeClass macros were incorrectly      */
/*            defined. DR0862                                */
/*                                                           */
/*            Added allowed-classes slot facet.              */
/*                                                           */
/*            Renamed BOOLEAN macro type to intBool.         */
/*                                                           */
/*      6.30: Added EnvSlotDefaultP function.                */
/*                                                           */
/*            Borland C (IBM_TBC) and Metrowerks CodeWarrior */
/*            (MAC_MCW, IBM_MCW) are no longer supported.    */
/*                                                           */
/*            Used gensprintf and genstrcat instead of       */
/*            sprintf and strcat.                            */
/*                                                           */
/*            Added const qualifiers to remove C++           */
/*            deprecation warnings.                          */
/*                                                           */
/*            Converted API macros to function calls.        */
/*                                                           */
/*      6.40: Removed LOCALE definition.                     */
/*                                                           */
/*            Pragma once and other inclusion changes.       */
/*                                                           */
/*            Added support for booleans with <stdbool.h>.   */
/*                                                           */
/*            Removed use of void pointers for specific      */
/*            data structures.                               */
/*                                                           */
/*            ALLOW_ENVIRONMENT_GLOBALS no longer supported. */
/*                                                           */
/*            UDF redesign.                                  */
/*                                                           */
/*************************************************************/

#ifndef _H_classexm

#pragma once

#define _H_classexm

#include "entities.h"
#include "object.h"

#if DEBUGGING_FUNCTIONS

   void                           BrowseClassesCommand(Environment *,UDFContext *,UDFValue *);
   void                           BrowseClasses(Defclass *,const char *);
   void                           DescribeClassCommand(Environment *,UDFContext *,UDFValue *);
   void                           DescribeClass(Defclass *,const char *);

#endif /* DEBUGGING_FUNCTIONS */

   const char                    *GetCreateAccessorString(SlotDescriptor *);
   void                           GetDefclassModuleCommand(Environment *,UDFContext *,UDFValue *);
   void                           SuperclassPCommand(Environment *,UDFContext *,UDFValue *);
   bool                           SuperclassP(Defclass *,Defclass *);
   void                           SubclassPCommand(Environment *,UDFContext *,UDFValue *);
   bool                           SubclassP(Defclass *,Defclass *);
   void                           SlotExistPCommand(Environment *,UDFContext *,UDFValue *);
   bool                           SlotExistP(Defclass *,const char *,bool);
   void                           MessageHandlerExistPCommand(Environment *,UDFContext *,UDFValue *);
   void                           SlotWritablePCommand(Environment *,UDFContext *,UDFValue *);
   bool                           SlotWritableP(Defclass *,const char *);
   void                           SlotInitablePCommand(Environment *,UDFContext *,UDFValue *);
   bool                           SlotInitableP(Defclass *,const char *);
   void                           SlotPublicPCommand(Environment *,UDFContext *,UDFValue *);
   bool                           SlotPublicP(Defclass *,const char *);
   void                           SlotDirectAccessPCommand(Environment *,UDFContext *,UDFValue *);
   bool                           SlotDirectAccessP(Defclass *,const char *);
   void                           SlotDefaultValueCommand(Environment *,UDFContext *,UDFValue *);
   bool                           SlotDefaultValue(Defclass *,const char *,CLIPSValue *);
   void                           ClassExistPCommand(Environment *,UDFContext *,UDFValue *);
   int                            SlotDefaultP(Environment *,Defclass *,const char *);

#endif /* _H_classexm */
